import * as http from "@/service/http.js";

export function getNewsList({ pageNum = 1, pageSize = 10, type } = {}) {
  return http.get("demo", {
    pageNum,
    pageSize,
    type,
  });
}
